* {
    box-sizing: border-box;
}

a,
a:visited {
    color: inherit;
text-decoration: underline;
text-decoration-color: rgba(0,0,0,0.30);
text-decoration-thickness: 1px;
text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

a:hover,
a:focus {
    opacity: 0.85;
}

a:active {
    opacity: 0.75;
}

.highlight-box {
    background: #D99A5B;
    padding: 2px 2px;
    border-radius: 2px;
    margin: 5px 0;
	color: white;
}

.read-QandA-link,
.read-more-link {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
}

.read-QandA-link,
.read-more-link:hover {
    color: #556B46;
    text-decoration: underline;
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    z-index: 9999;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
}

.enlargeable {
    cursor: zoom-in;
}



body {
    background-color: #F2E8D5;
    color: #222222;
    font-family: "Segoe UI", Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.arabic {
font-family: "Noto Naksh Arabic", serif;
font-size: 2rem;
}
.hero {
    background-image:
linear-gradient(
rgba(0,0,0,0.20),
rgba(0,0,0,0.20)
),
        url("images/jump.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 12px;
    overflow: hidden;

    padding: 40px 20px;
}

.hero-content {
    background: rgba(255,255,255,0.4);
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin: 0 0 15px;
    color: white;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 6px;
}

.hero-text {
    font-size: 0.8rem;
    line-height: 1.3;
    color: white;
    margin-bottom: 12px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    background: #556B46;
    color: #F8F4ED;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background: #445738;
}

.hero-btn.secondary {
    background: #E3EBD9;
    color: #556B46;
    border: 1px solid #556B46;
}

.hero-btn.secondary:hover {
    background: #D8E4CB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {

    .hero {
        min-height: 350px;
        padding: 20px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-text {
        font-size: 1rem;
    }

}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1, h2, h3, h4, h5 {
    color: #556B46;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;

    background-color: #556B46;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
	font-variant: small-caps;
}

.main-nav a {
    background: #F8F4ED;
    color: #556B46;

    text-decoration: none;
    font-weight: 600;

    padding: 10px 15px;
    border-radius: 6px;

    transition: all 0.2s ease;
}

.main-nav a:hover {
    background: #E3EBD9;
    transform: translateY(-1px);
}
main {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 8px;
}

button {
    background-color: #556B46;
    color: #F8F4ED;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
	margin: 5px;
	font-family: "Segoe UI", sans-serif;
}

button:hover {
    background-color: #D99A5B;
}

.updates-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.updates-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #556B46;
    font-variant: small-caps;
    margin-bottom: 2rem;
}

.update-card {
    background: #F8F4ED;
    border: 1px solid #D8CDB8;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(85,107,70,0.08);
    transition: all 0.2s ease;
}

.update-card:hover {
    box-shadow: 0 4px 10px rgba(85,107,70,0.15);
    transform: translateY(-2px);
}

.update-card h3 {
    margin-top: 0;
    color: #556B46;
}

.update-card .date {
    color: #777;
    font-size: 0.9rem;
}


.corner-ribbon {
    position: fixed;
    bottom: 25px;
    right: -60px;

    background: #D99A5B;
    color: white;

    padding: 10px 70px;

    font-size: 0.6rem;
    font-weight: 600;

    transform: rotate(-45deg);

    z-index: 1000;

    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.support-link,
.support-link:visited {
    color: white;
    text-decoration: none;
}

.support-link:hover,
.support-link:active {
    color: white;
    text-decoration: none;
    filter: brightness(1.05);
}

.corner-ribbonAI {
    position: fixed;
    top: 25px;
    left: -60px;

    background: red;
    color: white;

    padding: 10px 70px;

    font-size: 0.6rem;
    font-weight: 600;

    transform: rotate(-45deg);

    z-index: 1000;

    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.support-linkAI,
.support-linkAI:visited {
    color: white;
    text-decoration: none;
}

.support-linkAI:hover,
.support-linkAI:active {
    color: white;
    text-decoration: none;
    filter: brightness(1.05);
}


footer {
    margin-top: 25px;
    padding: 12px 15px;

    background: #556B46;
    color: #F8F4ED;

    border-radius: 12px;
    text-align: center;

    font-size: 0.75rem;
}

footer a,
footer a:visited {
    color: inherit;
text-decoration: underline;
text-decoration-color: rgba(0,0,0,0.08);
text-decoration-thickness: 1px;
text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

footer a:hover,
footer a:focus {
    opacity: 0.85;
}

footer a:active {
    opacity: 0.75;
}

footer p {
    margin: 10px 0;
}

table {
    border-collapse: collapse;
    margin: 0 auto;
    background-color: #FFFFFF;
    width: 100%;
	direction: rtl;
}

th,
td {
    border: 1px solid #CCCCCC;
    padding: 12px 20px;
    font-size: 2rem;
    text-align: center;
}

th {
    background-color: #556B46;
    color: #FFFFFF;
}

th:first-child {
    background-color: #D6CCB7;
    color: #FFFFFF;
}

tr:hover {
    background-color: #FBF8F2;
}

/* Mobile */

@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    nav {
        padding: 10px;
    }

    nav a {
        display: inline-block;
        padding: 8px;
        margin: 2px;
        font-size: 0.95rem;
    }

    main {
        padding: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .arabic {
        font-size: 1.5rem;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th,
    td {
        font-size: 1.2rem;
        padding: 8px 10px;
    }

    button,
    .form-btn,
    .verb-btn {
        font-size: 1rem;
        padding: 8px 12px;
    }

}

.photo-mosaic {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(100px, 1fr));

    gap: 8px;

    padding: 8px;
    border-radius: 12px;
}

.photo-mosaic img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    display: block;

    border: 3px solid #556B46;
    border-radius: 8px;

	opacity: 0.8;
}

.photo-tile {
background: #556B46;
}

.photo-tile img {
mix-blend-mode: screen;
}
